#pragma once

#include "Entity.h"

class Player : public Entity {
public:
	Player(Client* cli);

	double getStance();
	void setStance(double s);
	int gameMode();
	void setGameMode(int gm);
	int heldItemSlot();
	void setHeldItemSlot(int held);
	void setHealth(int h);
	void setFood(int f);
	void setFoodSaturation(float s);
	void setExperienceBar(float b);
	void setLevel(int lvl);
	void setExperience(int e);
	bool isInvulnerable();
	bool canFly();
	bool isCreative();
	int FlyingSpeed();
	int WalkingSpeed();
	void setInvulnerable(bool inv);
	void setCanFly(bool can);
	void setCreative(bool crea);
	void setFlyingSpeed(int sp);
	void setWalkingSpeed(int sp);

private:
	double stance;
	int m_gameMode;
	int m_heldItemSlot;
	int health;
	int food;
	float expBar;
	int level;
	int exp;
	float foodSaturation;
	bool can_fly;
	bool invulnerable;
	bool creative;
	int flyingSpeed;
	int walkingSpeed;
};
